
To build the example Piranha programs in this directory,
do the following:

1) Make sure "clc" is in your search path.  Alternatively, edit
   Makefile to define CLC to point to the appropriate clc.

2) Edit Makefile to define PIRANHA_DIR to point to the directory
   that contains piranha.lo and piranha_sys.o.  This would normally
   be one of the lib directories in the Linda distribution.
   Alternatively, an environment variable can be used to give
   dynamic control of the Makefile, as in:

     % setenv PIRANHA_DIR /usr/licensed/sca/sun4-4.1/lib/

3) On an RS6000 or DEC alpha, edit Makefile to define LINKLIBS to
   be "-lrpcsvc".  This could be done for other platforms,
   but is unnecessary.

4) Type "make" to build the example Piranha programs.


The C-Piranha examples are:

  piranha_test.cl - A simple test program

  factor.cl - LU factorization of a matrix

  cmatrix.cl - Dense matrix multiply 


Also included is an example Piranha configuration file that documents
the default policy settings.  It must be copied to /usr/etc to be used.
See the release notes for more information.

